home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / GDIDEMO.PAK / ARTY.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  41 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1991, 1995 by Borland International, All Rights Reserved
  4. //
  5. //   Arty demo window object header
  6. //----------------------------------------------------------------------------
  7. #if !defined(ARTY_H)
  8. #define ARTY_H
  9.  
  10. #include "demobase.h"
  11. class _EXPCLASS TList;
  12. class _EXPCLASS TStatic;
  13.  
  14. class TArtyWindow : public TBaseDemoWindow {
  15.   public:
  16.     TArtyWindow();
  17.     ~TArtyWindow();
  18.  
  19.     void    TimerTick();
  20.  
  21.   protected:
  22.     void    EvLButtonDown(uint modKeys, TPoint& point);
  23.     void    EvRButtonDown(uint modKeys, TPoint& point);
  24.     void    EvSize(uint, TSize& size);
  25.     void    Paint(TDC& dc, bool erase, TRect& rect);
  26.  
  27.   private:
  28.     TList*      List;
  29.     TList*      BigLineList;
  30.     TList*      IconicLineList;
  31.     int         TextHeight;
  32.     bool        Iconized;
  33.     bool        Paused;
  34.     TStatic*    StaticControl;
  35.  
  36.   DECLARE_RESPONSE_TABLE(TArtyWindow);
  37.   DECLARE_CASTABLE;
  38. };
  39.  
  40. #endif
  41.